package xyz.awesome.demo.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface UserMapper {
    @Insert("insert into user(username,password) values(#{username},#{password})")
    public void addUser(@Param("username") String username, @Param("password") String password);
}
